#
for i in range(1,6):
    for a in range(1,6-i):
        print(" ",end="")
    print("*" *(i*2-1))